package com.mv.javamvc.dao.impl;

import java.util.ArrayList;
import java.util.List;

import com.mv.javamvc.dao.UserDao;
import com.mv.javamvc.pojo.User;


public class UserDaoImpl implements UserDao {
	@Override
	public List<User> list(){
		List<User> userList = new ArrayList<>();
		
		User user1 = new User( "张三", "pwd1", "nickname1", 11);
		User user2 = new User( "李四", "pwd2", "nickname2", 11);
		userList.add(user1);
		userList.add(user2);
		
		return userList;
	}
}